package com.ice.body.log.model;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.stereotype.Component;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
/**
 * Created by GuoYanBin.
 * Description:试剂销毁
 * Create Time: 2021-07-15 02:00
 */
@Component
@Data
public class LogDestroy implements Serializable {


    @ApiModelProperty(value ="id",position = 0)
    private Long id;

    @ApiModelProperty(value ="epc编码",position = 1)
    private String epcCode;

    @ApiModelProperty(value ="试剂名称",position = 2)
    private String cName;

    @ApiModelProperty(value ="销毁备注",position = 3)
    private String destroyDesc;

    @ApiModelProperty(value ="流向记录（1全部使用,2有破损 3有过期 4其他）",position = 4)
    private Integer destroyState;

    @ApiModelProperty(value ="销毁人id",position = 5)
    private String userId;

    @ApiModelProperty(value ="销毁人姓名",position = 6)
    private String userName;

    @ApiModelProperty(value ="销毁人日期",position = 7)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
